<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>订单</title>
    <link type="text/css" rel="stylesheet" href="__ADMINS__/css/reset.css">
    <link type="text/css" rel="stylesheet" href="__ADMINS__/css/main.css">
    <script src="__ADMINS__/js/"></script>
</head>

<body>
<div class="headerBar">
    <div class="logoBar red_logo">
        <div class="comWidth">
            <h3 class="welcome_title">订单确认</h3>
        </div>
    </div>
</div>

<div class="regBox">
    <div class="login_cont">
        <form method="post" action=""  onsubmit="return check(this)">
            <input type="hidden" value="{$Think.session.uid}" name="uid">
            <label>姓&nbsp;&nbsp;&nbsp;名：</label><input type="text" name="khname" class="order-input" placeholder="请输入姓名" ><br>
            <label>地&nbsp;&nbsp;&nbsp;址：</label><input type="text" name="address" class="order-input" placeholder="请输入地址"><br>
            <label>电&nbsp;&nbsp;&nbsp;话：</label><input type="text" name="tel" class="order-input" maxlength="11" placeholder="请输入电话号码"><br>
            <label>商品名：</label><input type="text" class="order-input" name="spname" value="{$data.gname}" readonly="readonly"><br>
            <label>单&nbsp;&nbsp;&nbsp;价：</label><input type="text"  class="order-input" value="{$data.gwzj}" readonly="readonly"><br>
            <label>数&nbsp;&nbsp;&nbsp;量：</label><input type="text" name="number" class="order-input" value="{$data.number}"  readonly="readonly"><br>
            <label>总&nbsp;&nbsp;&nbsp;价：</label><input type="text"  name="price" class="order-input" value="{$sum}" readonly="readonly"><br>
            <input type="submit" value="提交订单" class="order-submit">
        </form>
    </div>
</div>
<div class="hr_25"></div>
<div class="footer">
    <p><a href="#">商城简介</a><i>|</i><a href="#">商城公告</a><i>|</i> <a href="#">招纳贤士</a><i>|</i><a href="#">联系我们</a><i>|</i>客服热线：400-675-1234</p>
    <p>Copyright &copy; 2006 - 2018 版权所有&nbsp;&nbsp;&nbsp;渝ICP备09037834号&nbsp;&nbsp;&nbsp;渝ICP证B1034-8373号&nbsp;&nbsp;&nbsp;某市公安局XX分局备案编号：123456789123</p>
    <p class="web"><a href="#"><img src="__ADMINS__/image/webLogo.jpg" alt="logo"></a><a href="#"><img src="__ADMINS__/image/webLogo.jpg" alt="logo"></a><a href="#"><img src="__ADMINS__/image/webLogo.jpg" alt="logo"></a><a href="#"><img src="__ADMINS__/image/webLogo.jpg" alt="logo"></a></p>
</div>
<script>
    function check(form) {
        if (form.khname.value == '') {
            alert('请输入姓名！');
            form.khname.focus();
            return false;
        }
        if (form.address.value == '') {
            alert('请输入地址！');
            form.address.focus();
            return false;
        }
        if (form.tel.value == '') {
            alert('请输入电话！');
            form.tel.focus();
            return false;
        }

    }
</script>

</body>
</html>
